Skip to content

chore: shared Windows agent launcher and full third-party licence notices - #21

Merged
nodemode-ai merged 3 commits into
mainfrom
chore/launcher-and-notices
Nov 30, 2026
Merged

nodemode-ai merged 3 commits into
mainfrom
chore/launcher-and-notices

Conversation

@gbarnai

@gbarnai gbarnai commented Nov 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Windows launcher: the shared agent finder is now FormVis's 1.1.0, copied byte for byte (sha256 313fcd40...). Its hash is recorded in setup/agents.py LOOKUP_HASHES.
  • The tab route and agents install now catch the renamed CommandLineRefused (an OSError). Their messages and HTTP behaviour are unchanged.
  • The Windows start tests were rewritten for 1.1.0: pnpm and bun shims, runner consistency, letter case, trailing dot and stream names, the spaced-path @ rule, and cmd /c without /d.
  • Added THIRD-PARTY-NOTICES.txt, generated by setup/notices.py. It holds the full licence texts of the frozen Python runtime and packages, the production npm packages, the crates of the shell, the engine and c2patool, the bundled fonts, FFmpeg (its notices plus the LGPL-2.1 text), OpenH264 and the delivery tools.
  • setup/notices.py --check now runs in the CI test job and needs no network or cargo.
  • The notices file ships in every desktop bundle, is frozen into the engine, is served at GET /api/notices, and is shown under Help > About formencoder > Third-party notices.
  • NOTICE.md stays the ledger: it now points to the full texts and adds the missing opentelemetry-api row.
  • Added tests for the notices route, the check (with a gap fed in) and the file round-trip. Backend suite: 404 passed.

Tests

  • The notices check and the tests for the launcher behaviour this app depends on were run locally on macOS; failures seen locally also fail on main. Please rely on this PR's CI.

How to ship

  • Independent of other repos. The shared launcher file is the same byte for byte in every Form app (agent_lookup 1.1.0, source in FormVis). No version bump; it can go into the next release.

Copy agent_lookup.py 1.1.0 byte for byte, record its hash, catch the
renamed CommandLineRefused in the tab route and agents install, and
update the Windows start tests.
setup/notices.py writes THIRD-PARTY-NOTICES.txt from the Python packages
frozen into the engine, the production npm packages, the crates of the
desktop shell, the encoding engine and c2patool, the bundled fonts, FFmpeg,
OpenH264 and the delivery tools. Its check mode runs in the CI test job.
The file ships in every bundle, is frozen into the engine, is served at
/api/notices and is shown in Help > About formencoder.
@gbarnai
gbarnai requested a review from nodemode-ai as a code owner November 29, 2026 23:12
Vendor the upstream licence texts (or the SPDX text reconstructed with the
holders the crate metadata names) for the 53 crates whose published package
carries no licence file into third_party/licence-texts, each with its
SOURCE.txt. setup/notices.py now reads them for such crates and names the
upstream file or the reconstruction in the section's note.
@nodemode-ai
nodemode-ai merged commit 54f8166 into main Nov 30, 2026
9 checks passed
@nodemode-ai
nodemode-ai deleted the chore/launcher-and-notices branch November 30, 2026 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants